Skip to content

Conversation

@vchuravy
Copy link
Member

@vchuravy vchuravy commented Feb 4, 2025

Since AcceleratedKernels.jl doesn't use the CPU backend of KernelAbstractions this hasn't caused issues before,
but technically the using a variable name like N in a @localmem statement requires N to be uniform across
the work-group.

@anicusan
Copy link
Member

anicusan commented Feb 4, 2025

Thanks! I think this would be a relatively common construct in KA code - it might be useful adding a comment / example in the docs on this.

@anicusan anicusan merged commit cf85ebd into main Feb 4, 2025
32 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants